home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _23C201F312A443D195B2D7A39FC7F52C < prev    next >
Encoding:
Text File  |  2006-08-04  |  2.1 KB  |  62 lines

  1. from PSPApp import *
  2. import PSPUtils
  3.  
  4. def ScriptProperties():
  5.     return {
  6.         'Author': u'Corel Corporation',
  7.         'Copyright': u'Copyright (c) 2002-2006 Corel Corporation. All rights reserved.',
  8.         'Description': "Make a selection appear to sit on top of the image by beveling the edges and casting a shadow.",
  9.         'Host': u'Paint Shop Pro',
  10.         'Host Version': u'8.00'
  11.         }
  12.  
  13.  
  14. def Do(Environment):
  15.     App.Do( Environment, 'FloatSelection', {
  16.             'ClearSource': None, 
  17.             'BackupSelection': None, 
  18.             'GeneralSettings': {
  19.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  20.                 'AutoActionMode': App.Constants.AutoActionMode.Match
  21.                 }
  22.             })
  23.  
  24.     App.Do( Environment, 'InnerBevel', {
  25.             'Ambience': 0, 
  26.             'Angle': 315, 
  27.             'Bevel': 0, 
  28.             'Color': (255,255,255), 
  29.             'Depth': 20, 
  30.             'Elevation': 30, 
  31.             'Intensity': 50, 
  32.             'Shininess': 0, 
  33.             'Smoothness': 0, 
  34.             'Width': 8, 
  35.             'GeneralSettings': {
  36.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  37.                 'AutoActionMode': App.Constants.AutoActionMode.Match
  38.                 }
  39.             })
  40.  
  41.     App.Do( Environment, 'DropShadow', {
  42.             'Blur': 5.000000, 
  43.             'Color': (0,0,0), 
  44.             'Horizontal': 10, 
  45.             'NewLayer': App.Constants.Boolean.false, 
  46.             'Opacity': 50, 
  47.             'Vertical': 10, 
  48.             'GeneralSettings': {
  49.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  50.                 'AutoActionMode': App.Constants.AutoActionMode.Match
  51.                 }
  52.             })
  53.  
  54.     App.Do( Environment, 'SelectPromote', {
  55.             'KeepSelection': None, 
  56.             'LayerName': PSPUtils.LayerName_BevelSelection, 
  57.             'GeneralSettings': {
  58.                 'ExecutionMode': App.Constants.ExecutionMode.Silent, 
  59.                 'AutoActionMode': App.Constants.AutoActionMode.Match
  60.                 }
  61.             })
  62.